Part Number Hot Search : 
2SB1300 M74HC174 2412D ATMEGA8L DG4052A AN2474 OM4215SW MAX3205E
Product Description
Full Text Search
 

To Download EAEDIP240B-7LWTP Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  embedded lcd-display 240x128 with intelligence issue 02.2014 zeppelinstra?e 19 d-82205 gilching phone +49-(0)8105-778090 fax +49-(0)8105-778099 www.lcd-module.de info@lcd-module.de technical data * lcd graphics display with a range of graphics functions * 8 built-in soft-fonts * font zoom from approx. 2mm to approx. 50mm, also rotated by 90 * 3 different onboard interfaces: rs-232, i2c bus or spi bus * 240x128 pixels with led backlight, blue negative or * black&white positive, fstn technology or amber * power supply +5v@ typical 75ma / 210ma (without / with led backlight) * positioning accurate to the pixel with all functions * straight line, point, area, and/or/exor, bar graph... * clipboard functions, pull-down menus * up to 256 images storable internally * up to 256 macros programmable (32 kb eeprom onboard) * combinations of text and graphics, flashing attributes: on/off/inverted * backlight can be switched by software * analog touch panel: variable grid * freely definable keys and switches dimension: 113x70x12mm ordering codes displa ys 240x128 dots, white led-backlight, bluenegative ea edip240b-7lw as above, but with touch panel ea edip240b-7lwtp 240x128 dots, white led-backlight, positive mode, fstn ea edip240j-7lw as above, but with touch panel ea edip240j-7lwtp 240x128 dots, white led-backlight, positive mode, fstn ea edip240j-7la as above, but with touch panel ea edip240j-7latp st ar terkit includes ea edip240b-7lwp and evaluation bo ard with usb for direct connection to pc and interface boards for connection with your host system ea evaledip240b as above, but with ea e dip240j-7lwtp ea evaledip240j addtio tnal par ts mounting bezel (aluminium), black anodized ea 0fp241-7sw socket 1x20, 4.5mm high (1 piece) ea b254-20
ea edip240-7 page 2 specifications may be changed without prior notice. printing error reserved contents general ..................................................................................................................... 3 electrical specifications ................................................................................... 4 rs-232 .......................................................................................................................... 5 spi ............................................................................................................................ .... 6 i2c ............................................................................................................................ .... 7 software protocol ............................................................................................ 8-9 touch panel ............................................................................................................ 10 character sets .................................................................................................. 11-12 commands / functions in tabular form ..................................................... 13-15 acknowledgements from the control panel ............................................. 16 programming example ........................................................................................ 17 programming macros ...................................................................................... 18-19 dimensions .............................................................................................................. 20 documentation of revision date type old new reason / description 15.02.04 v1.0 preliminary version 24.11.04 v1.1 - - modulo 8 new command macro-process #md../#mz../#ms.. adaptor max232 circuit diagramm modulo 256 new firmware - typing error in protocol description 18.01.05 v1.2 new command terminal-cursor save/restore #ts/#tr new command bargraph send continous #aq 2 new firmware 07.04.05 v1.3 new addressable 2-wire rs485 interface with sn75176 new 32 additional i2c addresses new commands #ag, #si, #ka new firmware 13.05.05 v1.4 bugfix in spi- i2c-mode after wrong packet (nak) new firmware 04.10.05 v1.5 some problems with opertating >60c (display corrupted) new protocoll info command 'dc2 1 p bcc' bugfix in #gz (pointsize), #b rlou (typ2+3 linewitdh) new firmware 18.10.05 v1.6 out-port functionality on not used configuration pins new firmware 17.02.06 - drawing for mounting panel ea 0fp241-7sw included - 27.04.06 - v/a 61.0mm revised drawing (v/a = 60.4mm and pcb rev.d) 29.06.07 - insert ea edip240j-7la
ea edip240-7 page 3 specifications may be changed without prior notice. printing error reserved general the ea edip240-7 is the world?s first display with integrated intelligence! as well as a number of built-in fonts which can be used with pixel accuracy it also features a whole range of sophisticated graphics functions. supplied with 5v, the display is ready for operation immediately. it is controlled via one of the 3 integrated rs- 232, spi or i2c interfaces. graphics commands similar to high-level languages are used for programming. there is no longer any need for the time-consuming programming of character sets and graphics routines. the ease of use of this display with its touch panel reduces development time dramatically. hardware the display is designed to work with an operating voltage of +5v. data transfer is either serial and asynchronous using the rs-232 format or synchronous using the spi or i2c specification. a simple protocol is used for all data transfer variants to improve data reliability. analog touch panel the ea edip240b-7lwtp and ea edip240j-7lwtp versions are equipped with an integrated touch panel. you can make entries and menu or bar graph settings by touching the display. the labeling of the ?keys? is flexible and can also be changed during runtime (different languages, icons). the drawing of the individual ?keys? and the labeling is handled by the integrated software. led backlight, types b and j all displays in blue-and-white (b) and black-and-white (j) are equipped with a modern, low power consumption led backlight. whereas the black&white and the amber-colored display can still be read even when the backlight is switched off completely, the blue-white display requires a minimum level of illumination to be legible. the backlight can be switched off with a software command and the brightness can be adjusted. we recommend the black&white version for use in direct sunlight. for all other applications, we recommend the high-contrast, blue-white version. note that the white led backlight is subject to aging. that means switching off or dimming backlight is a must for 24-hour-applications. not so for the amber backlight. software the display is programmed by means of commands, such as draw a rectangle from (0,0) to (64,15) . no additional software or drivers are required. strings can be placed with pixel accuracy . flashing attributes can be assigned as often as you like ? for graphics as well. text and graphics can be combined at any time. up to 16 different character sets can be used. each one can be zoomed from 2 to 4 times. with the largest character set, the words and numbers displayed will fill the screen. accessories evaluation-board (programmer) for internal data flash memory the display is shipped fully programmed and with all fonts. the additional evaluation-board is thus generally not required. however, if the internal character sets have to be changed or extended, or if images or macros have to be stored internally, the evaluation-board ea 9777-2usb, which is available as an accessory, will burn the data/images you have created into the on-board eeprom (32/64 kb) permanently. the evaluation-board runs under windows and is connected to the pc?s usb interface. it is shipped with an interface cable and the installation software. the evaluation-board is equipped with serveral leds, pushbottons and potentiometer to test all peripherial modes of the edip. interface-expansion for evaluation-board (included in the starter-kit): wtih the expansion ea 9777-2pe for the evaluation-board all interfaces of the display are made available with the help from small adapter boards: rs-232, rs-485, spi, i2c, rs-232 (cmos level). further information you will find in the datasheet of the evalution-board.
ea edip240-7 page 4 specifications may be changed without prior notice. printing error reserved spezification and characteristics characteristics value condition min. typ. max. unit operating temperature -20 +70 c storage temperature -30 +80 c storage humidity < 40c 90 %rh operating voltage 4.5 5.0 5.5 v input low voltage -0.5 0.2*vdd v input high voltage pin reset only 0.9*vdd vdd+0.5 v input high voltage except reset 0.6*vdd vdd+0.5 v input leakage current pin mosi only 1 ua input pull-up resistor 20 50 kohms output low voltage 0.7 v output high voltage 4.0 v output current 20 ma current backlight off 75 ma backlight on 210 ma output beginning with firmware v1.6 and the higher the ea edip240 is able to provide up to 7 digital output for driving an external led for example. depending on the choosen interface mode rs232, spi or i2c all non used configuration pins can be used as separate output lines. all lines used for output (open drain with internal pull-up) are like 1=high level for interface mode configuration. each output can be set by command ?esc yw n1 n2? individually. maximum current is 10ma per line. because of internal pull-up construction the max. current is valid for l level only. so theoretically each line is able drive a led direct. larger current need to be amplified by use of a transistor or mosfet. relation output <-> pin no. output no. rs232/rs422 spi i2c pin no. symbol pin no. symbol pin no. symbol out1 6 baud0 10 dord 6 ba0 out2 7 baud1 12 out2 7 ba1 out3 8 baud2 13 dpom 8 sa0 out4 9 adr0 14 cpol 9 sa1 out5 13 dpom 15 cpha 10 sa2 out6 14 adr1 11 ba2 out7 15 adr2 13 dpom
ea edip240-7 page 5 specifications may be changed without prior notice. printing error reserved rs-232/rs-422 interface wiring the display as shown below selects the rs-232/rs-422 interface. the pin assignment is shown in the table on the right. the rxd and txd lines have a 5v cmos line level. if ?genuine? rs- 232 levels are required (e.g. for direct connection to a pc), an external level converter such as the icl232 is necessary. baud rates baud0 baud1 baud2 data format 8,n,1 0 0 0 1200 1 0 0 2400 0 1 0 4800 1 1 0 9600 0 0 1 19200 1 0 1 38400 0 1 1 57600 1 1 1 115200 pinout edip240-7 rs-232 / rs-422 mode pin symbol in/out function pin symbol function 1 gnd - ground potential for logic (0v) 21 n.c. not connected 2 vdd - power supply for logic (+5v) 22 n.c. not connected 3 vadj in operating voltage for lc driving (input) 23 n.c. not connected 4 vout out output voltage for lc driving 24 n.c. not connected 5 reset - l: reset 25 n.c. not connected 6 baud0 in baud rate 0 26 n.c. not connected 7 baud1 in baud rate 1 27 n.c. not connected 8 baud2 in baud rate 2 28 n.c. not connected 9 adr0 in address 0 for rs-485 (v1.3 or later) 29 n.c. not connected 10 rxd in receive data 30 n.c. not connected 11 txd out transmit data 31 n.c. not connected 12 en485 out transmit enable for rs-485 driver 32 n.c. not connected 13 dpom in l: disable power-on-macro do not connect for normal operation 33 n.c. not connected 14 adr1 in address 1 for rs-485 (v1.3 or later) 34 n.c. not connected 15 adr2 in address 2 for rs-485 (v1.3 or later) 35 n.c. not connected 16 buzz out buzzer output 36 n.c. not connected 17 eep_sda bidir. serial data line for int. eeprom 37 n.c. not connected 18 eep_scl out serial clock line for int. eeprom 38 n.c. not connected 19 eep_wp in h: write protect for int. eeprom 39 n.c. not connected 20 test sbuf in out open-drain with internal pullup 20..50k in (power-on) l: testmode out l: data in sendbuffer 40 n.c. not connected note: at pin 20 (sbuf), the display sets a low level to indicate that data is available to be fetched from the internal send buffer. this line can, for instance, be connected to an interrupt input of the host system. baud rates the baud rate is set with pins 6, 7 and 8 (baud0 through 2). the data format is set permanently to 8 data bits, 1 stop bit, no parity. rts/cts handshaking lines are not required. the integrated software protocol takes on the necessary control functions (see pages 8 and 9). application example
ea edip240-7 page 6 specifications may be changed without prior notice. printing error reserved spi interface wiring the display as shown below activates spi mode. data is then transferred over the serial, synchronous spi interface. the dord, cpol and cpha inputs are used to match the hardware conditions to the master. for example (see diagram below). a reasonable communication is possible up to 100 khz. clock frequency may be rised up to 3 mhz, but in this case make shure, that there is a pause between 2 bytes of min. 100 s. note: at pin 20 (sbuf), the display sets a low level to indicate that data is available to be fetched from the internal send buffer. this line can, for instance, be connected to an interrupt input of the host system. pinout edip240-7 spi mode pin symbol in/out function pin symbol function 1 gnd - ground potential for logic (0v) 21 n.c. not connected 2 vdd - power supply for logic (+5v) 22 n.c. not connected 3 vadj in operating voltage for lc driving (input) 23 n.c. not connected 4 vout out output voltage for lc driving 24 n.c. not connected 5 reset - l: reset 25 n.c. not connected 6 ss in slave select 26 n.c. not connected 7 mosi in serial in 27 n.c. not connected 8 miso out serial out 28 n.c. not connected 9 clk in shift clock 29 n.c. not connected 10 dord in data order (0=msb first; 1=lsb first) 30 n.c. not connected 11 spimode in connect to gnd for spi interface 31 n.c. not connected 12 out2 out open-drain with internal pullup 20..50k (v1.6 or later) 32 n.c. not connected 13 dpom in l: disable power-on-macro do not connect for normal operation 33 n.c. not connected 14 cpol in clock polarity (0=lo 1=hi when idle) 34 n.c. not connected 15 cpha in clock phase (sampled on 0=1st 1=2nd edge) 35 n.c. not connected 16 buzz out buzzer output 36 n.c. not connected 17 eep_sda bidir. serial data line for int. eeprom 37 n.c. not connected 18 eep_scl out serial clock line for int. eeprom 38 n.c. not connected 19 eep_wp in h: write protect for int. eeprom 39 n.c. not connected 20 test sbuf in out open-drain with internal pullup 20..50k in (power-on) l: testmode out l: data in sendbuffer 40 n.c. not connected data transfer spi via the pins dord, cpol and cpha transfer parameter will be set. write operation: a clock rate up to 100 khz is allowed without any stop. together with a pause of 100 s between every data byte a clock rate up to 3 mhz an be reached. read operation: to read data (e.g. the "ack" byte) a dummy byte (e.g . 0xff) need to be sent. note that the ea edip240-7 for internal operation does need a short time before providing the data; therefore a short pause of min. 6s (no activity of clk line) is needed for each byte. same is with 100khz operation. application example
ea edip240-7 page 7 specifications may be changed without prior notice. printing error reserved i2c bus interface wiring the display as shown below allows the display to be operated directly on an i2c bus. 4 different base addresses and 8 different slave addresses can be selected at the display. a data transmission rate of up to 100khz is possible. if transmitter will pause for min. 100 s between each byte, scl may rise u to max. 400 khz. pinout edip240-7 i2c-bus mode pin symbol in/out function pin symbol function 1 gnd - ground potential for logic (0v) 21 n.c. not connected 2 vdd - power supply for logic (+5v) 22 n.c. not connected 3 vadj in operating voltage for lc driving (input) 23 n.c. not connected 4 vout out output voltage for lc driving 24 n.c. not connected 5 reset - l: reset 25 n.c. not connected 6 ba0 in basic address 0 26 n.c. not connected 7 ba1 in basic address 1 27 n.c. not connected 8 sa0 in slave address 0 28 n.c. not connected 9 sa1 in slave address 1 29 n.c. not connected 10 sa2 in slave address 2 30 n.c. not connected 11 ba2 in basic address 2 (v1.3 or later) 31 n.c. not connected 12 i2cmode in connect to gnd for i2c interface 32 n.c. not connected 13 dpom in l: disable power-on-macro do not connect for normal operation 33 n.c. not connected 14 sda bidir. serial data line 34 n.c. not connected 15 scl in serial clock line 35 n.c. not connected 16 buzz out buzzer output 36 n.c. not connected 17 eep_sda bidir. serial data line for int. eeprom 37 n.c. not connected 18 eep_scl out serial clock line for int. eeprom 38 n.c. not connected 19 eep_wp in h: write protect for int. eeprom 39 n.c. not connected 20 test sbuf in out open-drain with internal pullup 20..50k in (power-on) l: testmode out l: data in sendbuffer 40 n.c. not connected note: at pin 20 (sbuf), the display sets a low level to indicate that data is available to be fetched from the internal send buffer. this line can, for instance, be connected to an interrupt input of the host system. application example i2c - address pin 11,7,6 base address i2c address ba2 ba1 ba0 d7 d6 d5 d4 d3 d2 d1 d0 l l l $10 0 0 0 1 s a 2 s a 1 s a 0 r w ll h $20 0 0 1 0 l h l $30 0 0 1 1 l h h $40 0 1 0 0 h l l $70 0 1 1 1 h l h $90 1 0 0 1 hh l $b0 1 0 1 1 h h h $d0 1 1 0 1 note: the pins ba0 to 2, sa0 to 2, dpom, dprot and test/sbuf have an internal pullup, which is why only the lo level (l=0=gnd) is to be actively applied. these pins must be left open for a hi level (h=1). on pin 20 (sbuf) the display indicates with a low level that data is ready to be retrieved from the internal send buffer. the line can be connected to an interrupt input of the host system, for example. all pins open: write $de read $df data transfer i2c-bus principle i2c-bus transfer: - i2c-start - master-transmit: ea edip-i2c-address (e.g. $de), send smallprotocol package (data) - i2c-stop - i2c-start - master-read: ea edip-i2c-address (e.g. $df), read ack-byte and opt. smallprotocoll package (data) - i2c-stop read operation: for internal operation the ea edip240-7 does need a short time before providing the data; therefore a short pause of min. 6s is needed for each byte (no activity of scl line).
ea edip240-7 page 8 specifications may be changed without prior notice. printing error reserved building the smallprotocol packages data transfer protocol (small protocol) the protocol has an identical structure for all 3 interface types: rs-232, spi and i2c. each data transfer is embedded in a fixed frame with a checksum (protocol package). the ea edip240-7 acknowledges this package with the character (=$06) on successful receipt or (=$15) in the event of an incorrect checksum or receive buffer overflow. in the case of , the entire package is rejected and must be sent again. receiving the byte means only that the protocol package is ok, there is no syntax check for the command. note: it is neccessary to read the byte in any case. if the host computer does not receive an acknowledgment, at least one byte is lost. in this case, the set timeout has to elapse before the package is sent again. the raw data volume per package is limited to 64 bytes (len <= 64). commands longer than 64 bytes (e.g. load image esc ul...) must be divided up between a number of packages. all data in the packages are compiled again after being correctly received by the ea edip240-7. deactivating the small protocol for tests the protocol can be deactivated by closing the solder strap j2 (see page 20). in normal operation, however, you are urgently advised to activate the protocol. if you do not, any overflow of the receive buffer will not be detected. > len data... bcc < command/data to the display = 17(dec.) = $11 = 6(dec.) = $06 len = count of user data (without , without checksum bcc) bcc = 1 byte = sum of all bytes incl. and len, modulo 256 the user data is transferred framed by , the number of bytes (len) and the checksum (bcc). the display responds with . > 1 s bcc < < len data... bcc request for content of send buffer the command sequence , 1, s, bcc empties the display?s send buffer. the display replies with the acknowledgement and the begins to send all the collected data such as touch keystrokes. = 18(dec.) = $12 1 = 1(dez.) = $01 s = 83(dez.) = $53 = 6(dec.) = $06 len = count of user data (without , without checksum bcc) bcc = 1 byte = sum of all bytes incl. , modulo 256 clear display and draw a line from 0,0 to 239,127 len esc d l esc g d 0 0 239 127 bcc $11 $0a $1b $44 $4c $1b $47 $44 $00 $00 $ef $7f $da $06 example to a complete data package void senddata( unsigned char *buf, unsigned char len) { unsigned char i, bcc; sendbyte( 0x11 ); // send dc1 bcc = 0x11 ; sendbyte(len); // send data length bcc = bcc + len; for (i= 0 ; i < len; i++) // send buf { sendbyte(buf[i]); bcc = bcc + buf[i]; } sendbyte(bcc); // send checksum } ?c? source code to transmit a data package
ea edip240-7 page 9 specifications may be changed without prior notice. printing error reserved > 1 i bcc < < 2 send buffer bytes ready receive buffer bytes free bcc request for buffer information = 18(dec.) = $12 1 = 1(dez.) = $01 i = 73(dez.) = $49 = 6(dec.) = $06 send buffer bytes ready = count of bytes stored in send buffer receive buffer bytes free = count of bytes for free receive buffer bcc = 1 byte = sum of all bytes incl. , modulo 256 this command queries whether user data is ready to be picked up an how full the display's receive buffer is. > 3 d packet size for send buffer timeout bcc < > 1 r bcc < < len data... bcc repeat the last package protocol settings = 18(dec.) = $12 3 = 3(dez.) = $03 d = 68(dez.) = $44 packet size for send buffer = 1..64 (standard: 64) timeout = 1..255 in 1/100 seconds (standard: 200 = 2 seconds) bcc = 1 byte = sum of all bytes incl. , modulo 256 = 6(dec.) = $06 = 18(dec.) = $12 1 = 1(dez.) = $01 r = 82(dez.) = $52 = 6(dec.) = $06 = 17(dec.) = $11 len = count of user data in byte (without ckecksum, without or ) bcc = 1 byte = sum of all bytes incl. and len, modulo 256 if the most recently requested package contains an incorrect checksum, the entire package can be requested again. the reply can then be the contents of the send buffer () or the buffer/protocol information (). this is how the maximum package size that can be sent by the display can be limited. the default setting is a package size with up to 64 bytes of user data. the timeout can be set in increments of 1/100 seconds. the timeout is activated when individual bytes get lost. the entire package then has to be sent again. request for protocol settings = 18(dec.) = $12 1 = 1(dez.) = $01 p = 80(dez.) = $50 = 6(dec.) = $06 max. packet size = count of maximum user data for 1 package (edip240-7 = 64) akt. send packet size = current package size for send akt. timeout = current timeout in 1/100 seconds bcc = 1 byte = sum of all bytes incl. , modulo 256 > 1 p bcc < < 3 max. packet size akt. send packet size akt. timeout bcc this command is used to query protocol settings. adressing (only for rs232/rs485) > 3 a select or deselect adr bcc < = 18(dec.) = $12 3 = 3(dez.) = $03 a = 65(dez.) = $41 select or deselect: 's' = $53 or 'd' = $44 adr = 0..255 bcc = 1 byte = sum of all bytes incl. and adr, modulo 256 = 6(dec.) = $06 this command can be used to select or deselect the edip with the address adr.
ea edip240-7 page 10 specifications may be changed without prior notice. printing error reserved touch p anel (ea edip240x-7lwtp only) the versions -7xxtp are supplied with an analog resistive touch panel. up to 60 touch regions (buttons, switches, menus, bar graph entries), can be defined simultaneously. the fields can be defined to single-pixel accuracy. the display supports representation using easy-to-use commands (see page 15). when the touch ?keys? are touched, they can be automatically inverted and an external buzzer (pin 16) can sound, indicating they have been touched. the defined return code of the ?key? is transmitted via the serial interface, or an internal touch macro with the number of the return code is started (see page 18, macro programming ). touch panel adjustment the touch panel is perfectly adjusted and immediately ready for operation on delivery. as a result of aging and wear, it may become necessary to readjust the touch panel. adjustment procedure: 1. touch the touch panel at power-on and keep touching it. after the message ?touch adjustment ?? appears, release the touch panel again (or issue the ?esc @? command). 2. touch the touch panel again within a second for at least a second. 3. follow the instructions for adjustment (press the 2 points upper left and lower right). frames and key forms a frame type can be set by using the draw frame or draw frame box command or by drawing touch keys. 18 frame types are available (0= do not draw a frame). bitmaps as keys in addition to the frame types, which can be scaled to any size, you also have the option of using any bitmap images (in each case, a pair showing the not pressed and pressed statuses) as touch keys or switches. the lcd-tools *) allows you to incorporate your own buttons in the form of images (compiler statement ?picture?). a button always comprises two monochrome windows bmps of the same size (one bitmap showing the normal representation of the touch key and one showing the pressed touch key). the active area of the touch key is derived automatically from the size of the button bitmaps. switches in groups (radio group) touch switches change their status from on to off and vice versa each time they are touched. a number of touch switches can be grouped together (command: ?esc a r nr?). if a touch switch in an ?nr? group is now switched on, all other buttons in this group are automatically switched off. this means that one button is only ever on at a time. *) see our web site at http://www.lcd-module.de/deu/touch/touch.htm
ea edip240-7 page 11 specifications may be changed without prior notice. printing error reserved integrated and external fonts apart from the 8x8 terminal font (font no. 8), 3 additional monospaced fonts, 3 proportional fonts and 1 large numeric font are integrated as standard. the proportional fonts result in a more attractive appearance, and at the same time require less space on screen (e.g. the ?i? is narrow and the ?w? is wide). each character can be positioned with pixel accuracy and the width and height can be scaled by a factor of 1 - 4. each text can be output left justified, right justified or centered. 90 rotation e.g. for vertical installation of the display is also possible. macro programming permits additional fonts to be integrated (up to 15). this is be done with a text editor and programmed using the lcd-tools *) (ea 9777-1usb). font 4: geneva10 proportional font 1: 4x6 monospaced font 2: 6x8 monospaced font 3: 7x12 monospaced
ea edip240-7 page 12 specifications may be changed without prior notice. printing error reserved font 5: chicago14 proportional typeface this picture of a screen image shows all the integrated standard fonts. macro programming permits some additional fonts to be integrated. any conceivable font (including chinese or cyrillic) can be created with a text editor and programmed using the lcd-toolkit *) and programmer ea 9777-1usb. font 6: swiss30 bold proportional font 7: big numbers bigzif57 *) see our web site at http://www.lcd-module.de/deu/touch/touch.htm
ea edip240-7 page 13 specifications may be changed without prior notice. printing error reserved all commands at a glance the built-in intelligence allows an easy creation of your individual screen content. below mentioned commands can be used either directly via the serial interface (see page 17) or together with the self- definable macro (see page 18). ea edip240-7: command table 1 after reset command codes remarks commands for terminal mode formfeed ff (dez:12) ^l the contents of the terminal area are deleted and the cursor is placed at pos. (1,1) carriage return cr(13) ^m cursor to the beginning of the line on the extreme left linefeed lf (dez:10) ^j cursor is set to the next line cursor position esc t p n1 n2 n1=column; n2=line; origin upper-left corner (1,1) 1,1 cursor on / off c n1 n1=0: cursor is invisible; n1=1: cursor flashes; 1 terminal invisible a terminal display not visible; outputs are ignored terminal visible e terminal display is visible again; visibl show revision code v show revision code on terminal layer e.g. "ea edip240-7 v1.1 rev.b" comands for outputting strings output string l: left justified c: centered r: right justified esc z l x1 y1 text ... nul a string (...) is output to xx1,yy1. nul ($00), 'lf' ($0a) or 'cr' ($0d) = end of string; several lines are separated by the character '|' ($7c);; text between two '~' ($7e) characters flashes on/off; text between two '@' ($40) characters flashes inversely; c r set font f n1 set font with the number n1 (0..16) 0 font zoom factor z n1 n2 n1 = x zoom factor (1x..4x); n2 = y zoom factor (1x..4x) 1,1 add. line spacing y n1 insert n1 pixels between two lines of text as additional line spacing text angle w n1 text output angle: n1=0: 0; n1=1: 90 0 text mode v n1 set mode n1: 1=set; 2=delete; 3=inverse; 4=replace; 5=inverse replace; 4 text blink attribute b n1 n1: 0=text solid, blink off; 1=text blink on/off; 2=text blink inverted; 0 string for terminal esc z t text ... command for outputting a string in a macro to the terminal draw straight lines and points draw rectangle esc g r x1 y1 x2 y2 draw four straight lines as a rectangle from x1,y1 to x2,y2 draw straight line d x1 y1 x2 y2 draw straight line from x1,y1 to x2,y2 continue straight line w x1 y1 draw a straight line from last end point to x1, y1 0 draw point p x1 y1 set one dot at coordinates x1, y1 point size/line thickness z n1 n2 n1 = x-punktgr??e (1..15); n2 = y-punktgr??e (1..15); 1,1 graphic mode v n1 drawing mode n1: 1=set; 2=delete; 3=inverse; 1 change/draw rectangular areas delete area esc r l x1 y1 x2 y2 delete an area from x1,y1 to x2,yy2 (all pixels out) invert area i x1 y1 x2 y2 invert an area from x1,y1 to x2,y2 (invert all pixels fill area s x1 y1 x2 y2 fill an area from x1,y1 to x2,y2 (all pixels on) area with fill pattern m x1 y1 x2 y2 n1 draw an area from x1,y1 to x2,y2 with pattern n1 (always set) draw box o x1 y1 x2 y2 n1 draw a rectangle x1,y1 to x2,y2 with fill pattern n1 (always replace) draw frame r x1 y1 x2 y2 n1 draw a frame of the type n1 from x1,y1 to x2,y2 (always set) draw frame box t x1 y1 x2 y2 n1 draw a frame box of the type n1 from x1,y1 to x2,y2 (always replace) bitmap image commands image from clipboard esc u c x1 y1 the current contents of the clipboard are loaded to x1,y1 with all the image attributes load internal image i x1 y1 no load internal image with the no. (0..255) from eeprom to x1,y1 load image l x1 y1 blh data ... load an image to x1,y1; see image structure for image data image zoom factor z n1 n2 n1 = x zoom factor (1x..4x); n2 = y zoom factor (1x..4x) 1,1 image angle w n1 output angle: n1=0: 0; n1=1: 90; n1=2: 180; n1=3: 270 0 image link mode v n1 mode n1: 1=set; 2=delete; 3=inverse; 4=replace; 5=inverse replace 4 image flashing attribute b n1 n1=0 image attribute blink off; n1=1 image blink mode on/off; n1=2 image blink mode inverse 0 send hard copy h x1 y1 x2 y2 a full image is requested in windows bmp format. the image header is sent first via rs232, followed by the actual image data (9662 bytes). display commands (effect on the entire display) delete display esc d l delete display contents (all pixels off) invert display i invert display contents (invert all pixels) fill display s fill display contents (all pixels on) switch display off a display contents become invisible but are retained, commands continue to be possible switch display on e display contents become visible again visibl show clip-board c show content of clip-board. standard display output is no longer visible show current n switch back to noraml operation. standard display output is visible flashing area commands delete flashing attribute esc q l x1 y1 x2 y2 delete the flashing attribute from x1,y1 to x2,y2 inverted flashing area i x1 y1 x2 y2 define an inverted flashing area from x1,y1 to x2,y2 pattern for flashing area m x1 y1 x2 y2 n1 define flashing area with pattern n1 (on/off) from x1,y1 to x2,y2 set flashing time z n1 set the flashing time n1= 1..15 in 1/10s; 0=deactivate flashing function 6
ea edip240-7 page 14 specifications may be changed without prior notice. printing error reserved ea edip240-7: command table 2 after reset command codes remarks bar graph commands define bar graph esc b r l o u n1 x1 y1 x2 y2 sv ev type pat define bar graph to l(eft), r(ight), o(ben) (up), u(nten) (down) with the "nr" (1..32). x1,y1,x2,y2 form the rectangle enclosing the bar graph. sv, ev are the values for 0% and 100%. type=0: bar; type=1: bar in rectangle; pat=bar pattern type=2: line; type=3: line in rectangle; pat= line width no bar define update bar graph a n1 valu set and draw the bar graph with the number n1 to the new user "value." draw new bar graph z n1 draw the bar graph with the number n1 completely send bar graph value s n1 send the current value of bar graph no. n1 on the serial interface delete bar graph d n1 n2 makes definition of bar graph with number n1 invalid. if bar graph was defined as a touch field, active area will become inactive again n2=0: above function and bar graph keeps visible; n2=1: bar graph will be cleared clipboard commands (buffer for image areas) save display contents esc c b the entire contents of the display are copied to the clipboard as an image area save area s x1 y1 x2 y2 the image area from x1,y1 to x2,y2 is copied to the clipboard restore area r the image area on the clipboard is copied back its original position in the display copy area k x1 y1 the image area on the clipboard is copied to x1,y1 in the display settings for menu/pop-up and touch panel set font for menu esc n f n1 all following menu entries will be written in font n1 (0..16) 0 set zoom factor z n1 n2 n1 = x-zoom factor (1x..4x); n2 = y-zoom factor (1x..4x) 1,1 add. line spacing y n1 add n1 dots as additional line spacing between 2 lines angle for menu w n1 pop-up direction: n1=0: 0; n1=1: 90; 0 set automatic function for touch t n1 n1=1: touch menu will pop-up automatically; n1=0: touch menu will not pop-up but 'esc t 0' will be sent to host; this one is able to pop-up with command 'esc n t 2' then. 1 menu/pop-up commands (not valid for touch panel use; for that see table "commands for the touch panel") define menu and show esc n d x1 y1 no text ... nul a menu is drawn as of the corner x1,y1 with the current menu font. no= currently inverted entry (e.g.: 1 = 1st. entry) text:= string with menu items. the different items are separated by the character '|' ($7c,dec:124) (e.g. "item1|item2|item3"). the background of the menu is saved automatically. if a menu is already defined, it is automatically canceled+deleted. next item n the next item is inverted or remains at the end previous item p the previous item is inverted or remains at the beginning end of menu/send s the menu is removed from the display and replaced with the original background. the current item is sent as a number (1..n) (0=no menu displayed) end of menu/macro m n1 the menu is removed from the display and replaced with the original background. menu macro n1 is called for item 1, menu macro nr+1 for entry 2, and so on end of menu/cancel a the menu is removed from the display and replaced with the original background macro commands run macro esc m n n1 call the (normal) macro with the number n1 (0..255) (max. 7 levels) run touch macros t n1 call the touch macro with the number n1 (0..255) (max. 7 levels) run menu macro m n1 call the menu macro with the number n1 (0..255) (max. 7 levels) automatic/cyclic macro macro with delay esc m g n1 ts (normal-) macro n1 (0..255) runs after delay of ts/10s. may be stopped/prevented by any command via serial interface or by touch panel autom. macro cyclical, once e n1 n2 ts automatically macros n1..n2 once only; ts=pause in 1/10s. will be stopped by any command via serial interface or by touch panel use autom. macro cyclical a n1 n2 ts automatically macros n1..n2 cyclically; ts=pause in 1/10s. will be stopped by any command via serial interface or by touch panel use autom. macro pingpong j n1 n2 ts automatically macros n1..n2..n1 (pingpong); ts=pause in 1/10s. will be stopped by any command via serial interface or by touch panel use process macro commands (from v1.1) define process macro esc m d no type n3 n4 ts define process macro number no (1..4) (1=highest priority). (normal-) macro n3..n4 will be served with ts/10s delay. type: 1=once only; 2=cyclical; 3=pingpong n3..n4..n3 process macro speed z no ts assign a new delay for process no (1..4) with ts /10s value. ts=0 will stop the automatic stop process macro s n1 all process macro will be stopped with n1=0 and continued with n1=1 e.g. to make settings or output via serial interface without interference 1 other commands wait (pause) esc x ts wait ts tenths of a second before the next command is executed. beep on/off esc y s ts switch beeper output (pin 16) ts=2..255 for ts 1/10s to high ts=0 set permanent low, ts=1 set permanent high off backlight on/off l ts led backlight n1=0: off; n1=1: on; ts=2..255: switches backlight on for ts /10s and then off 1 backlight brightness h n1 adjust brightness of backlight n1=0..100% (non linear) 100 send bytes esc s b cnt data ... cnt (=1..255) bytes are sent via serial interface data ... = cnt. bytes (e.g. control of an external printer) send version v software versionwill be sent as a string ;e.g. "ea edip240-7 v1.2 rev.b" send version i (v1.3) edip sends internal information
ea edip240-7 page 15 specifications may be changed without prior notice. printing error reserved ea edip240-7: commands for the touch panel after reset command codes remarks touch: define areas define touch key (key remains depressed as long as there is contact) esc a t x1 y1 x2 y2 dow code up code text ... nul 't': the area from xx1,yy1 to xx2,yy2 is defined as a key. 'u': image no=1..255 is loaded to xx1,yy2 and defined as a key. 'down code':(1-255) return/touch macro when key pressed. 'up code': (1-255) return/touch macro when key released. (down/up code = 0 press/release not reported). text: a string that is centered with the current touch font in the touch key follows; the first character determines the alignment of the text (c=centered, l=left, r=right justified); multiline text is separated with the character '|' ($7c, dec: 124); 'nul': ($00) = end of string u x1 y1 n1 dow code up code text ... nul define touch switch (status of the switch toggles after each contact on/off) esc a k x1 y1 x2 y2 dow code up code text ... nul 'k': the area from xx1,yy1 to xx2,yy2 is defined as a switch. 'j': image no. n1 is loaded to xx1,yy2 and defined as a switch. 'down code': (1-255) return/touch macro when switched on. 'up code': (1-255) return/touch macro when switched off. (down/up code = 0 on/off not reported). 'text: a string that is centered with the current touch font in the touch key follows; the first character determines the alignment of the text (c=centered, l=left, r=right justified); multiline text is separated with the character '|' ($7c, dec: 124); 'nul': ($00) = end of string j x1 y1 n1 dow code up code text ... nul define touch key with menu function esc a m x1 y1 x2 y2 dow code up code mnu code text ... nul the area from xx1,yy1 to xx2,yy2 is defined as a menu key. 'down code':(1-255) return/touch macro when pressed. 'up code':(1-255) return/touch macro when menu canceled 'mnu code':(1-255) return/menu macro+(item no. 1) after selection of a menu item. (down/up code = 0 activation/cancellation of the menu not reported). 'text':= string with the menu key text and the menu items. the first character determines the direction in which the menu opens (r=right, l=left, o=up, u=down). the second character determines the alignment of the touch key text . the different items are separated by the character '|' ($7c,dec:124) (e.g. "uckey|item1|item2|item3". the key text is drawn with the current touch font and the menu items are drawn with the current menu font. the background of the menu is saved automatically. define drawing area esc a d x1 y1 x2 y2 n1 a drawing area is defined. you can then draw with a line width of n1 within the corner coordinates xx1,yy1 and xx2,yy2. define free touch area esc a h x1 y1 x2 y2 a freely usable touch area is defined. touch actions (down, up and drag) within the corner coordinates xx1,yy1 and xx2,yy2 are sent via serial interface. set bargraph by touch esc a b no the bar graph with the no=1..32 n1 is defined for input by touch panel. touch: settings touch frame esc a e n1 the frame type for the display of touch keys/switches is set with n1 1 touch key response i n1 automatic inversion when touch key touched: n1=0=off; n1=1=on; 1 s n1 tone sounds briefly when a touch key is touched: n1=0=off; n1=1=on 1 invert touch key n code the touch key with the assigned return code is inverted manually query touch switch x code the status of the switch (off=0; on=1) is sent via the serial interface set touch switch p code n1 the status of the switch is changed by means of a command n1=0=off; n1=1=on define radiogroup r no within a group only one single switch will be active; ret of them will be deactivated no=0: next switch definitions will keep free of all groups no=1..255: next switch definitions will join to goup number no 0 delete touch area l code n1 the touch area with the return code (code=0: all touch areas) is removed from the touch query. when n1=0, the area remains visible on the display; when n1=1, the area is deleted from the display. v x1 y1 n1 remove a special touch area x1,y1 from touch query; n1=0: area stys visible; n1=1: areawill be overwritten with background color send bar value on/off q n1 automatic transmission of a new bar graph value by touch input is deactivated (n1=0) or activated (n1=1) 1 touch query on/off a n1 touch query is deactivated (n1=0) or activated (n1=1) 1 touch: label font label font esc a f no set font with the number no=0..16 for touch key label 0 label zoom factor z n1 n2 n1 = x zoom factor (1x..4x); n2 = y zoom factor (1x..4x) 1,1 add. line spacing y n1 insert n1 pixels between two lines of text as additional line spacing label angle w n1 text output angle: n1=0: 0; n1=1: 90 0
ea edip240-7 page 16 specifications may be changed without prior notice. printing error reserved terminal mode the display provides a terminal function. when you switch it on, a cursor flashes in the first line, indicating that the display is ready for operation. all the incoming characters are displayed in ascii format on the terminal (exception: cr,lf,ff,esc,?#?). to achieve this, a correctly functioning protocol frame is required (pages 8 and 9) or the protocol must be deactivated (close solder strap j2, page 8 and 20). line breaks are automatic or can be executed by means of the ?lf? character. if the last line is full, the contents of the terminal scroll upward. the ff character (formfeed) clears the terminal. the character ?#? is used as an escape character and thus cannot be displayed directly on the terminal. if the character ?#? is to be output on the terminal, it must be transmitted twice: ?##?. the terminal has a separate output layer and is thus completely independent of the graphic outputs. if the graphics screen is cleared with ?esc dl?, for example, that does not affect the contents of the terminal window. the terminal font is permanently in rom and can also be used for graphics output ?esc z...? (set font no.=0). response of ea edip240-7 via serial interface id num data remark automatic response esc a 1 code response from the analog touch panel when a key/switch is pressed. code = down or up code of the key/switch. only transmitted if no corresponding touch macro is defined ! esc n 1 code after a menu item is selected by touch, the selected menu item code is transmitted. only transmitted if no corresponding touch macro is defined ! esc b 2 no value when a bar graph is set by touch, the current value of the bar is transmitted with no. transmission of the bar value must be activated (see the 'esc a q n1' command). esc t 0 when automatic-open-mode for menu function is disabled (via command 'esc n t n1'), this request will be sent to host. then it is necessary that host will open menu with command 'esc n t 2'. esc h 3 type x1 y1 the following is transmitted in the case of a free touch area event: type=0 release; type=1 is touch; type=2 is drag within the free touch area at the x,y coordinates (16-bit values) response only when requested esc n 1 no after the 'esc n s' command, the currently selected menu item is transmitted. no=0: no menu item is selected. esc b 2 no value after the 'esc b s n1' command, the current value of the bar is transmitted with no. esc x 2 code value after the 'esc a x' command, the current status of the touch switch is transmitted with code (the return code). value = 0 or 1 esc i count x-pixel, y-pixel, version, touchinfo, crc-rom, crc-rom reference eep in kb, (abv1.4) crc-eep, crc-eep reference, eepcount (v1.3: count=14; v1.4: count = 21) after command 'esc s i' edip sends internal information (16-bit integer werte lo- hi-byte) version: lo-byte = versionno. software; hi-byte = versionno. hardware touchinfo: lo-byte = '-|+' x-axis; hi-byte = '-|+' y-axis eepcount: couint of used bytes in eeprom (3 byte: lo-, mid- hi-byte) esc v count char. string... after the 'esc s v' command, the version of the edip firmware is transmitted as a string (end code is the character nul = $00). the first two bytes of the string always start with 'ea' response without length specification (num) esc u l x1 y1 *.blh image data... after command 'esc uh....' is received a screen copy will be sent x1,y1 = coordinates of the top left corner *.blh image data: 2 bytes (width, height) + count of image data ((width+7)/8*height) note: at pin 20 (sbuf), the display sets a low level to indicate that data is available to be fetched from the internal send buffer. this line can, for instance, be connected to an interrupt input of the host system. terminal-font (font 0): 8x8 monospaced
ea edip240-7 page 17 specifications may be changed without prior notice. printing error reserved fill patterns a pattern type can be set as a parameter with some commands. in this way, rectangular areas and bar graphs for instance can be filled with different patterns. there are 16 internal fill patterns available. using the serial interface the ea edip240-7 can be programmed by means of various integrated commands. each command begins with escape or hash followed by one or two command letters and some parameters. there thus are two ways to send commands: 1. ascii mode - the esc character corresponds to the character ? # ? (hex: $23, dec: 35). - the command letters come directly after the ?#? character. - the parameters are transmitted as plain text (several ascii characters) followed by a separating character (such as a comma ? , ?) - also after the last parameter e.g.: #gd0,0,239,127, - strings (text) are written directly without quotation marks and terminated with cr (hex: $0d) or lf (hex: $0a). 2. binary mode - the escape character corresponds to the character esc (hex: $1b, dec: 27). - the command letters are sent directly. - the x, y coordinates and all the other parameters are transmitted as 8-bit binary values (1 byte). - strings (text) are terminated with cr (hex: $0d) or lf (hex: $0a) or nul (hex: $00). no separating characters, such as spaces or commas, may be used in binary mode. the commands require no final byte , such as a carriage return (apart from the string: $00).
ea edip240-7 page 18 specifications may be changed without prior notice. printing error reserved macro programming single or multiple command sequences can be grouped together in macros and stored in the eeprom. you can then start them by using the run macro commands. there are different types of macro: normal macros (0 through 255) these are started by means of an ?esc mn xx? command via the serial interface or from another macro. a series of macros occurring one after the other can be called cyclically (movie, hourglass, multi-page help text). these automatic macros continue to be processed until a command is received via rs-232 or another macro is activated. furthermore these macros may be started by "macro processes" as an individual task (from v1.1). process macros will not be interupted by any other commands or touch panel use. touch macro (1 through 255) started when you touch/release a touch field (only in versions with a touch panel - tp) or issue an ?esc mt xx? command. menu macro (1 through 255) started when you choose a menu item or issue an ?esc mm xx? command. power-on macro started after power-on. you can switch off the cursor and define an opening screen, for example. reset macro started after an external reset or after a voltage dip under 4.7v (vdd-vss). watchdog macro started after a fault/error (e.g. crash). brown-out macro started after a voltage dip <4v. important: if a continuous loop is programmed in the power-on, reset or watchdog macro, the display can no longer be addressed. in this event, execution of the power-on macro must be suppressed. this is achieved by wiring dpom appropriately. poweroff - connect pin 13 (dpom) to gnd - poweron - disconnect pin 13 again. write protection for macro programming and fonts a vdd line level at pin 19 (eep_wp) prevents inadvertent overwriting of the macros, images and fonts in the eeprom (recommanded in any case!). memory expansion the size of the internal eeprom memory is 32 kb. generally, this allows sufficient space for a large number of images and macros. if, however, a very large number of images (in particular full-size images) are to be stored, it can be necessary to expand the memory. the memory capacity can be doubled by directly connecting a standard eeprom of the 24c256 series. it is connected over pins 17, 18 and 19 (i2c adress $a6) or can be placed direct as u12 (see drawing on page 20).
ea edip240-7 page 19 specifications may be changed without prior notice. printing error reserved images stored in eeprom to reduce the transmission times at the interface or to save storage space in the processor system, up to 256 images can be stored in the internal eeprom. they can be called using the ?esc u i? command or from within a macro. any images in windows bmp format (monochrome images only) can be used. they can be created and edited using commercial software such as windows paint or photoshop (only black and white = 1 bit). crea ting your own macros and images to create your own macros, you need the following: - the additional ea 9777-1usb programmer (available as an accessory) or self-created adaptor like application example below, - the electronic assmbly lcd-tools *) software; this contains a kit-editor, kit-compiler, simulator, and examples and fonts (for windows pcs) - a pc with a serial port usb or com to define a sequence of commands as a macro, all the commands are written to a file on the pc (e.g. demo.kmc). you specify which character sets are to be integrated and which command sequences are to be in which macros. if the macros are defined using the kit editor, the kit compiler is started by pressing f5. this creates a file with the name demo.eep which immediately shows the results in a simulator window (virtual display). if display is connected via usb programmer ea 9777-1usb or application below, this file is then automatically burned into the display?s eeprom. the kit compiler recognizes the display with or without the small protocol being activated. the actual programming operation only takes a few seconds, and you can then use your user-defined macros and images on the display immediately. you will find a detailed description of how to program macros along with examples in the online help for the electronic assembly lcd-tools *) software. *) see our web site at http://www.lcd-module.de/deu/touch/touch.htm application example to direct pc interfacing
ea edip240-7 page 20 specifications may be changed without prior notice. printing error reserved zeppelinstra?e 19 d-82205 gilching phone +49-(0)8105-778090 fax +49-(0)8105-778099 www.lcd-module.de info@lcd-module.de dimensions all dimensions are in mm attention handling precautions! notes on handling and operation - lc dispalys are designed for hand soldering only. reflow and wave soldering may destroy lcd immediately - the following can lead to the electronic destruction of the module: cross-polarity or overvoltage of the power supply, overvoltage or cross-polarity or static discharge at the inputs, short-circuits at the outputs. - the power supply must be disconnected before the module is removed. all inputs must also be free of voltage. - the display and the touch screen are made of plastic and must not come into contact with hard objects. the surfaces can be cleaned with a soft cloth. no solvents may be used. - the module is designed only for operation within buildings. additional measures must be taken to allow operation in the open air. the maximum temperature range of -20 through +70c must not be exceeded. the module may not operate correctly and may fail if used in a humid environment. the display must be shielded from direct sunlight. j2: switch off small protocoll j6: connect metal frame with gnd (esd / emv) ea 0fp241-7sw: dimensions in mm aluminium bezel
mouser electronics authorized distributor click to view pricing, inventory, delivery & lifecycle information: electronic assembly: ? ea edip240b-7lwtp? ea edip240j-7latp? ea edip240b-7lw? ea 0fp241-7sw? ea edip240j-7la? ea edip240j-7lw? ea edip240j-7lwtp


▲Up To Search▲   

 
Price & Availability of EAEDIP240B-7LWTP

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X